home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0294feb.archive
/
000020_donews!crash!ic….com!THORNTONJ_Tue, 8 Feb 94 01:41:18 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
2KB
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1qyk@bkhouse.cts.com>; Tue, 8 Feb 94 01:41:18 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pTeCU-0001OgC; Mon, 7 Feb 94 14:13 PST
Received: from beast.cs.hh.ab.com by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pSefD-0000b3C; Fri, 4 Feb 94 20:30 PST
Date: Fri, 4 Feb 1994 23:30:31 -0500 (EST)
Message-Id: <940204233031.20410310@iccgcc.cs.hh.ab.com>
From: THORNTONJ@iccgcc.cs.hh.ab.com
To: amigae@bkhouse.cts.com
Subject: Strings and Numbers and Things......Oh My!!
Hi It's me again,
I know in the Ref docs it tells how to change a string representation
of a number to a number, but can you change a string rep. of a hex number
into a hex number.
Also I haven't been able to find any mention of how to raise a number
to a power.
The reason for the questions is that in the game I'm working on, I'm
breaking the map down into a 16 x 16 grid with the lines to the grid
representing where the vertical and horizontal walls would be.
With this scheme, I can represent all of the information for the vertical
and horizontal walls with two different sets of 17 numbers. The same scheme
will be used for the location of doors as well.
I could use decimal instead of hex but I'm trying to keep my eventual
data files as small as possible. Also being able to raise 2 to the diff
powers would cut down on the code some.
I don't have a lot done yet but if anyone's interested i could send them
what I have so you could kinda see what I'm trying to do and maybe offer
some suggestions on how to do some things better.
later
Jessie
thorntonj@beast.cs.hh.ab.com